<div class="example-input">
  <input class="ant-input" [(ngModel)]="params.name" nz-input placeholder="部门名称" nzSize="default" />
  <button nz-button nzType="primary" nzValue="large" class="ml20" (click)="queryDepartmentsList()">查询</button>
</div>
<ng-container *ngIf="departmentlistOfData && departmentlistOfData.length">
  <div class="item-list" *ngFor="let item of departmentlistOfData; ">
    <nz-checkbox-wrapper style="width: 100%;">
      <p nz-checkbox [(ngModel)]="item.checked" [nzValue]="item.name">{{item.name}}</p>
    </nz-checkbox-wrapper>
  </div>
</ng-container>
<ng-container *ngIf="departmentlistOfData && departmentlistOfData.length == 0">
  <nz-list-empty></nz-list-empty>
</ng-container>
<div class="btn-wrapper">
  <button class="btn" nz-button nzType="default" (click)="clickskip('home/editDepartment')">创建部门</button>
  <button class="btn" nz-button nzType="default" (click)="cancel()">取消</button>
  <button class="btn" nz-button nzType="primary" (click)="updepartment()">确认</button>
</div>